package com.crocodileQ.service;

import com.crocodileQ.common.R;
import com.crocodileQ.domain.entity.User;

import java.util.HashMap;

public interface LoginService {

    /**
     * 登录
     * @param user
     * @return
     */
    R<HashMap> login(User user);

    /**
     * 退出登录
     * @param
     * @return
     */
    R logout();


}
